<?php

/**
 * Created by PhpStorm.
 * User: chengchaogui
 * Date: 2017/8/9
 * Time: 17:07
 */

namespace App\Framework\Config;

class SystemConstant
{
    //后台数据库连接
    const RZJHPADMIN_CONNECTION = 'rzjhpadmin';
    //日志数据库连接
    const RZJHPLOG_CONNECTION = 'rzjhplog';
    //游戏数据库链接
    const RZJHPGAME_CONNECTION = 'rzjhpgame';
    //超级管理员ID
    const SUPER_MANAGER_ROLE_ID = 1;
    //后台列表默认展示记录条数
    const ADMIN_TABLE_ROWS = 20;
    //阿里云OSS对应的AccessKeyId
    const OSS_ACCESS_KEY_ID = 'EFsmYUbCSyJ3o2lR';
    //阿里云OSS对应的AccessKeySecret
    const OSS_ACCESS_KEY_SECRET = 'mq1gIUTNOOrpy9Q1QFOfuTRceDXxmE';
    //阿里云OSS对应的访问域名
    const OSS_END_POINT = 'oss-cn-beijing.aliyuncs.com';
    //阿里云OSS Bucket名称
    const OSS_BUCKET = 'myrzjhp';
    //阿里云OSS Bucket外网地址
    const OSS_OUTER_URL = 'http://myrzjhp.oss-cn-beijing.aliyuncs.com/';
    //图片格式
    const IMAGE_FORMAT=['jpg','jpeg','png','bmp','gif'];
    //API接口签名key
    const API_SIGN_KEY = 'caiquan-api-6dfa879490a249be9fbc92e97e4d898d';
}